import {
  get,
  post,
  //postForm,
  del
} from '@/utils/http'
const packageName = `http://124.70.196.178:8080/intelligent_control_webservice_eeds`

/**
 * 设备实训操作记录
 */
// 获取设备实训操作记录列表
export function getDataDeviceExperimentList(params) {
  return get(`${packageName}/pc/dataDeviceExperiment/getDataDeviceExperimentList`, params)
}
// 获取设备实训报告
export function getDataDeviceExperimentReport(params) {
  return get(`${packageName}/pc/dataDeviceExperiment/getExperimentReport`, params)
}
// 导出设备实训操作记录列表
export function exportDataDeviceExperimentList(params) {
  return post(`${packageName}/pc/dataDeviceExperiment/exportDataDeviceExperimentList`, params)
}
// 导出实验数据
export function exportDataDeviceExperimentData(params) {
  return post(`${packageName}/pc/dataDeviceExperiment/exportExperimentData`, params)
}
// 获取设备实验记录批阅（实验记录id）
export function getDataDeviceExperimentComment(params) {
  return get(`${packageName}/pc/dataDeviceExperiment/getDataDeviceExperimentComment`, params)
}

/**
 * 演示视频观看记录
 */
// 获取演示视频观看记录列表
export function getDataShowVideoList(params) {
  return get(`${packageName}/pc/dataShowVideo/getDataShowVideoList`, params)
}
// 导出演示视频观看记录列表
export function exportDataShowVideoList(params) {
  return post(`${packageName}/pc/dataShowVideo/exportDataShowVideoList`, params)
}

/**
 * 学习资料学习记录
 */
// 获取学习资料学习记录列表
export function getDataLearnMaterialList(params) {
  return get(`${packageName}/pc/dataLearnMaterial/getDataLearnMaterialList`, params)
}
// 导出学习资料学习记录列表
export function exportDataLearnMaterialList(params) {
  return post(`${packageName}/pc/dataLearnMaterial/exportDataLearnMaterialList`, params)
}

/**
 * 设备维修记录
 */
// 获取设备维修记录列表
export function getDataDeviceRepairList(params) {
  return get(`${packageName}/pc/dataDeviceRepair/getDataDeviceRepairList`, params)
}
// 获取设备维修记录详情
export function getDataDeviceRepair(params) {
  return get(`${packageName}/pc/dataDeviceRepair/getDataDeviceRepair`, params)
}
// 删除设备维修记录
export function delDataDeviceRepair(params) {
  return del(`${packageName}/pc/dataDeviceRepair/delDataDeviceRepair`, params)
}
// 保存设备维修记录
export function saveDataDeviceRepair(params) {
  return post(`${packageName}/pc/dataDeviceRepair/saveDataDeviceRepair`, params)
}
// 导出设备维修记录列表
export function exportDataDeviceRepairList(params) {
  return post(`${packageName}/pc/dataDeviceRepair/exportDataDeviceRepairList`, params)
}

/**
 * 工艺台账记录
 */
// 获取工艺台账记录列表
export function getDataStandBookTechnologyList(params) {
  return get(`${packageName}/pc/dataStandBookTechnology/getDataStandBookTechnologyList`, params)
}
// 获取工艺台账记录详情
export function getDataStandBookTechnology(params) {
  return get(`${packageName}/pc/dataStandBookTechnology/getDataStandBookTechnology`, params)
}
// 删除工艺台账记录
export function delDataStandBookTechnology(params) {
  return del(`${packageName}/pc/dataStandBookTechnology/delDataStandBookTechnology`, params)
}
// 保存工艺台账记录
export function saveDataStandBookTechnology(params) {
  return post(`${packageName}/pc/dataStandBookTechnology/saveDataStandBookTechnology`, params)
}
// 导出工艺台账记录列表
export function exportDataStandBookTechnologyList(params) {
  return post(`${packageName}/pc/dataStandBookTechnology/exportDataStandBookTechnologyList`, params)
}

/**
 * 设备报警记录
 */
// 获取设备报警记录列表
export function getDataAlarmDeviceList(params) {
  return get(`${packageName}/pc/dataAlarmDevice/getDataAlarmDeviceList`, params)
}
// 导出设备报警记录列表
export function exportDataAlarmDeviceList(params) {
  return post(`${packageName}/pc/dataAlarmDevice/exportDataAlarmDeviceList`, params)
}

/**
 * 工艺报警记录
 */
// 获取工艺报警记录列表
export function getDataAlarmTechnologyList(params) {
  return get(`${packageName}/pc/dataAlarmTechnology/getDataAlarmTechnologyList`, params)
}
// 导出工艺报警记录列表
export function exportDataAlarmTechnologyList(params) {
  return post(`${packageName}/pc/dataAlarmTechnology/exportDataAlarmTechnologyList`, params)
}
// 获取工艺超限运行列表
export function getDataAlarmTechnologyRunList(params) {
  return get(`${packageName}/pc/dataAlarmTechnology/getDataAlarmTechnologyRunList`, params)
}
// 导出工艺超限运行列表
export function exportDataAlarmTechnologyRunList(params) {
  return post(`${packageName}/pc/dataAlarmTechnology/exportDataAlarmTechnologyRunList`, params)
}
// 获取工艺超限运行列表
export function getDataAlarmSafetyHatList_(params) {
  return get(`${packageName}/pc/dataHisPlayerRfid/getDataAlarmSafetyHatList`, params)
}
/**
 * 能耗报警记录
 */
// 获取能耗报警记录列表
export function getDataAlarmEnergyConsumptionList(params) {
  return get(`${packageName}/pc/dataAlarmEnergyConsumption/getDataAlarmEnergyConsumptionList`, params)
}
// 导出能耗报警记录列表
export function exportDataAlarmEnergyConsumptionList(params) {
  return post(`${packageName}/pc/dataAlarmEnergyConsumption/exportDataAlarmEnergyConsumptionList`, params)
}

/**
 * 环保报警记录
 */
// 获取环保报警记录列表
export function getDataAlarmEnvironmentProtectionList(params) {
  return get(`${packageName}/pc/dataAlarmEnvironmentProtection/getDataAlarmEnvironmentProtectionList`, params)
}
// 导出环保报警记录列表
export function exportDataAlarmEnvironmentProtectionList(params) {
  return post(`${packageName}/pc/dataAlarmEnvironmentProtection/exportDataAlarmEnvironmentProtectionList`, params)
}

/**
 * 巡检报警记录
 */
// 获取巡检报警记录列表
export function getDataAlarmInspectionList(params) {
  return get(`${packageName}/pc/dataAlarmInspection/getDataAlarmInspectionList`, params)
}
// 导出巡检报警记录列表
export function exportDataAlarmInspectionList(params) {
  return post(`${packageName}/pc/dataAlarmInspection/exportDataAlarmInspectionList`, params)
}

/**
 * 安全帽报警记录
 */
// 获取安全帽报警记录列表
export function getDataAlarmSafetyHatList(params) {
  return get(`${packageName}/pc/dataAlarmSafetyHat/getDataAlarmSafetyHatList`, params)
}
// 导出安全帽报警记录列表
export function exportDataAlarmSafetyHatList(params) {
  return post(`${packageName}/pc/dataAlarmSafetyHat/exportDataAlarmSafetyHatList`, params)
}
